// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 获取 签到推广 POST */
export async function getProjectTaskExecutePage(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<PromotionData.Project[]>>(
    '/promotion/project/task/execute/page',
    {
      method: 'POST',
      data: options || {},
    },
  );
}

/** 获取 签到推广 项目包 POST */
export async function getProjectTaskExecuteDetails(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<PromotionData.ProjectDetails>>(
    '/promotion/project/task/execute/details',
    {
      method: 'POST',
      data: options || {},
    },
  );
}
